package com.hongyun.tms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 作业港区和码头关联表
 * </p>
 *
 * @author peng.li
 * @since 2024-08-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TMS_DOCK")
@ApiModel(value="Dock对象", description="作业港区和码头关联表")
public class Dock implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "码头id")
    @TableId("ID")
    private Long id;

    @ApiModelProperty(value = "作业港区代码")
    @TableField("PORT_AREA_CODE")
    private String portAreaCode;

    @ApiModelProperty(value = "码头名称")
    @TableField("DOCK_NAME")
    private String dockName;

    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @TableField("CREATOR")
    private String creator;

    @TableField("MODIFIER")
    private String modifier;
}
